<?php
namespace App\Api\Models;

use Illuminate\Database\Eloquent\Model;

class Albums extends Model
{
    protected $table='cmc_albums';
    /**
     * 获取首页头部轮播图
     * @return mixed
     */
    public static function pictureQuery($allowField)
    {
        return self::select($allowField)->get();
    }
}
